# -*- mode: snippet -*-
#name: idiom, Erase-remove idiom
# --
${1:v}.erase(remove($1.begin(), $1.end(), ${2:0}), $1.end());